<template>
	<view class="content success-tip">
		<view class="card">
			<icon type="success" size="130" />
			<br>
			<view class="tip">认证成功</view>
			<view class="tip2">{{text}}</view>
			
		</view>
		<button class="btn" size="default" type="primary" @click="jump()"
			hover-class="is-hover">{{btn}}</button>
	</view>
</template>

<script>
	import Vue from 'vue'
	export default {
		data() {
			return {
				title: ''
			}
		},
		onLoad(query) {
			const {btn,title,text,go} = query
			this.btn = btn||'下一步'
			this.text = text || ''
			this.go = go||1
			uni.setNavigationBarTitle({
				title: title||'认证结果'
			})
		},
		methods: {
			jump() {
				uni.navigateBack({delta:this.go*1})
				//redirectTo 
			}
		}
	}
</script>

